<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{$Think.lang.administrator} - {$Think.lang.login}</title>
    <css href="__ROOT__/asserts/bootstrap/css/bootstrap.yeti.min.css" />
    <css href="__ROOT__/asserts/admin/style.css" />
    <css href="__ROOT__/asserts/jquery-ui-1.11.2/jquery-ui__CSS_SUFFIX__" />
    <present name="addon_css">
        <foreach name="addon_css" item="i" key="k">
            <css href="{$k}" />
        </foreach>
    </present>
    <js href="__ROOT__/asserts/js/jquery-2.0.0__JS_SUFFIX__" />
    <present name="addon_hjs">
        <foreach name="addon_hjs" item="i" key="k">
            <js href="{$k}" />
        </foreach>
    </present>
    <!--[if lt IE 9]>
    <js href="__ROOT__/asserts/bootstrap/js/html5shiv.min.js" />
    <js href="__ROOT__/asserts/bootstrap/js/respond.min.js" />
    <![endif]-->
    <script type="text/javascript">
        var TPX={
            PATH_ROOT : '__ROOT__',
            PATH_ASSERTS:'__ROOT__/asserts',
            SUFFIX_JS:'__JS_SUFFIX__',
            SUFFIX_CSS:'__CSS_SUFFIX__',
            LANG:'<?php echo LANG_SET; ?>',
            UEDITOR:[]
        };
        var require = {
            baseUrl : '__ROOT__/asserts/js'
        };
    </script>
    <js href="__ROOT__/asserts/js/require__JS_SUFFIX__" />
</head>
<body style="background-color: #eee;">

<div class="container">
    <div class="header">
        <h3>&nbsp;</h3>
    </div>


    <div class="well" style="max-width:300px;margin:0 auto;">

        <form class="tpx-ajaxsubmit" role="form" action="{:U('Login/submit')}" method="post">

            <div class="row">
                <div class="col-xs-12">
                    <h3>{$Think.lang.please_login}</h3>
                </div>
                <div class="col-xs-12">
                    &nbsp;
                </div>
                <div class="col-xs-12">
                    <input name="username" type="text" class="form-control input-md" placeholder="{$Think.lang.username}" required="required" value="" autofocus="autofocus" />
                </div>
                <div class="col-xs-12">
                    &nbsp;
                </div>
                <div class="col-xs-12">
                    <input name="password" type="password" class="form-control input-md" placeholder="{$Think.lang.password}" required="required" value="" />
                </div>
                <div class="col-xs-12">
                    &nbsp;
                </div>
                <div class="col-xs-6">
                    <input name="verify" type="text" class="form-control input-md" placeholder="{$Think.lang.verify}" required="required" value="" />
                </div>
                <div class="col-xs-6">
                    <img id="auto-click-on-error" src="{:U('Login/verify')}&<?php echo time(); ?>" style="width:100%;height:39px;cursor:pointer;" onclick="this.src='{:U('Login/verify')}&'+Math.random()" />
                </div>
                <div class="col-xs-12">
                    &nbsp;
                </div>
                <div class="col-xs-12">
                    <button type="submit" class="btn btn-primary btn-md btn-block">{$Think.lang.login}</button>
                </div>
            </div>
        </form>


    </div>

</div>
<js href="__ROOT__/asserts/js/jquery.extern__JS_SUFFIX__" />
</body>
</html>